import plotly
plotly.tools.set_credentials_file(username='hewei',api_key='rCPkhGtnPPMnnSUVGPXB')